﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace BallData
{
    /// <summary>
    /// Interaction logic for Maitch_FilterItem.xaml
    /// </summary>
    public partial class Match_FilterItem : UserControl
    {
        private MainUIControl uicontrol;

        public MainUIControl Uicontrol
        {
            get { return uicontrol; }
            set { uicontrol = value; }
        }
        public Match_FilterItem()
        {
            InitializeComponent();

            
        }
        private Match_FilterItemBind filterbind;

        public Match_FilterItemBind Filterbind
        {
            get { return filterbind; }
            set { filterbind = value; }
        }

        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            this.DataContext = Filterbind;
        }

        private void bFilter_Checked(object sender, RoutedEventArgs e)
        {
            Uicontrol.SetSelectTabByName(OddsUntil.Filter_MatchName);
        }

    }
}
